Subobject-Oriented Programming
نویسندگان
چکیده
Classes are fundamental elements in object-oriented programming, but they cannot be assembled in a truly flexible manner from other classes. As a result, cross-cutting structural code for implementing associations, graph structures, and so forth must be implemented over and over again. Subobject-oriented programming overcomes this problem by augmenting object-oriented programming with subobjects. Subobjects can be used as buildings blocks to configure and compose classes without suffering from name conflicts. This paper gives an overview of subobject-oriented programming and introduces mechanisms for subobject initialization, navigation of the subobject structure in super calls, and subobject refinement. Subobject-oriented programming has been implemented as a language extension to Java with Eclipse support and as a library in Python.
منابع مشابه
Subobject Transactional Memory
Concurrent object-oriented programs are hard to write because of the frequent use of state in objects. In a concurrent program, this state must be protected against race-conditions and deadlocks, which costs a lot of effort and is error-prone. Software transactional memory is a mechanism for concurrency control that is similar to mechanisms used in databases. The programmer does not deal with l...
متن کاملClustering of Shared Subobjects in Databases
The topic of this article is multi-criterion, structure-based clustering in object-oriented databases. We study an object class, which is the target (subobject) of several multi-valued reference types from other object classes. The aim is to serve all access paths fairly, so that the number of page accesses is proportional to the number of referenced occurrences of the subobject class. An eecie...
متن کاملOn reflexive subobject lattices and reflexive endomorphism algebras
In this paper we study the reflexive subobject lattices and reflexive endomorphism algebras in a concrete category. For the category Set of sets and mappings, a complete characterization for both reflexive subobject lattices and reflexive endomorphism algebras is obtained. Some partial results are also proved for the category of abelian groups.
متن کاملThe Subobject Classier of the Category of Functional Bisimulations
We show the existence of subobject classi er in the category of nondeterministic dynamical systems and functional bisimulations.
متن کاملModeling Subobject-based Inheritance
A model of subobjects and subobject selection gives us a concise expression of key semantic relationships in a variety of inheritance-based languages. Subobjects and their selection have been diicult to reason about explicitly because they are not explicit in the languages that support them. The goal of this paper is to present a relatively simple calculus to describe subobjects and subobject s...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2012